﻿@using CodeGenerator.Models.TemplateModels
@inherits RazorEngine.Templating.TemplateBase<CodeGenerator.Models.TemplateModels.DtoFileModel>
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Abp.AutoMapper;
using Enterprise.Enums;


namespace Enterprise.Application.@(Model.DirName).Dto
{
    public class @(Model.Name)EditDto
    {
    @foreach (ClassProperty item in Model.ClassPropertys)
    {
        if (!item.IsEdit) { continue; }
        @:///<summary>
        @:/// @(item.CnName) 
        @:///</summary>
            if (item.ClassAttributes != null && item.ClassAttributes.Count > 0)
            {
                foreach (var classAttribute in item.ClassAttributes)
                {
        @:@Raw(classAttribute.NameValue)
                }

            }

        @:public @item.PropertyType @item.Name { get; set; }
        }
    }
}
